import { requestClient } from '#/api/request'

/**
 *  获取列表
 */
export async function printTemplateList(params: object = {}) {
  return requestClient.get('/admin/PrintTemplate/index', params)
}


/**
 *  获取排除列表
 */
export async function SupplyUserItems(params: object = {}) {
  return requestClient.get('/admin/SupplyUser/selectItems', params)
}

/**
 *  获取TIPS
 */
export async function getTisList(params: object = {}) {
  return requestClient.get('/admin/PrintTemplate/getTisList', params)
}


/**
 *  新增
 */
export async function printTemplateAdd(params: object = {}) {
  return requestClient.post('/admin/PrintTemplate/add', params,{responseReturn:"raw"})
}

/**
 *  获取详细
 */
export async function printTemplateEdit(params: object = {}) {
  return requestClient.get('/admin/PrintTemplate/Edit', params,)
}

/**
 *  获取详细
 */
export async function printTemplateUpdata(params: object = {}) {
  return requestClient.post('/admin/PrintTemplate/Edit', params,{responseReturn:"raw"})
}

